package com.steven.design.Builder_Pattern.factory.MethodFactory;

import com.steven.design.Builder_Pattern.factory.Apple;
import com.steven.design.Builder_Pattern.factory.Fruit;

public class AppleFactory {

    public Fruit create(){
        //添加种子
//            AppleSeed appleSeed = new AppleSeed();
        //加水
//            Water water = new Water();
        return new Apple();
    }
}
